import axios from '@/utils/http'

interface IVideoListParamer {
    key?: string
    limit: number
    page: number
}
interface IVideoListData {
    [key: string]: any
}

export function getVideoList(parameter: IVideoListParamer) {
    return axios<IVideoListData>({
        url: "/video/list",
        method: "get",
        params: parameter
    })
}
